package com.remenote.remenoteback.service;

import com.remenote.remenoteback.entity.req.DeckRequest;
import com.remenote.remenoteback.entity.resp.ServerResponse;
import com.remenote.remenoteback.entity.vo.DeckVo;

import java.util.List;

public interface CardService{
    ServerResponse<List<DeckVo>> listDecks();
    ServerResponse<DeckVo> getDeck(Integer cardName);
    ServerResponse<List<DeckVo>> search(String keyWord);
    ServerResponse saveDeck(DeckRequest deckRequest);
    ServerResponse createDeck(DeckRequest deckRequest);
    ServerResponse deleteDeck(Integer deckId);
}